Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce AnimationsSettings #2105

Merged
merged 1 commit into from
Nov 2, 2024
Merged

Conversation

lenemter
Copy link
Member

@lenemter lenemter commented Nov 1, 2024

Moves WindowManager.enable_animations to a separate AnimationsSettings namespace. There are a lot of objects that use wm only to get that value, in this case AnimationsSettings will simplify that. Also will help avoid passing window manager object all over the code.

Motivated by a duplicate enable_animations value in #2074

@lenemter lenemter requested a review from a team November 1, 2024 10:09
Copy link
Member

@leolost2605 leolost2605 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and very useful :)

@leolost2605 leolost2605 merged commit b0a5f8a into main Nov 2, 2024
4 checks passed
@leolost2605 leolost2605 deleted the lenemter/animation-settings branch November 2, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants